package com.xexun.gpstracker.inter;

import com.xexun.gpstracker.pojo.ResponseData;

/**
 *
 */
public abstract class HttpCallback {

    public void onStart(){};

    public void onFinish(){};

    /**
     * @param obj
     */
    public abstract void onSuccess(ResponseData obj) throws Exception;

    /**
     * @param message
     */
    public abstract void onFailure(String message) throws Exception;

    public void onLoading(long total, long current, boolean isDownloading) {
    }
}
